package com.k2data.k2app.rest;

import com.k2data.k2app.rest.domain.CombineParams;
import com.k2data.k2app.rest.domain.CombineRest;
import com.k2data.k2app.rest.domain.CombineResult;
import org.springframework.stereotype.Component;

/**
 * @author lidong9144@163.com 17-6-15.
 */
@Component
public class StaticClientFallback implements StaticClient {

    @Override
    public CombineRest combine(CombineParams combineParams) {
        CombineRest rest = new CombineRest();
        rest.setCode(200000);
        rest.setMessage("Success");

        CombineResult result = new CombineResult();
        result.setName("");
        result.setUrl("");
        rest.setResult(result);

        return rest;
    }

}
